Skip to content

FM4: ACC, accent to the index (OPS page) - #316

Merged
Devko merged 1 commit into
mainfrom
claude/project-thread-2fkf7b
Nov 30, 2026
Merged

Devko merged 1 commit into
mainfrom
claude/project-thread-2fkf7b

Conversation

@Devko

@Devko Devko commented Nov 30, 2026

Copy link
Copy Markdown
Owner

What

FM4's accent reached the level only (#303). ACC, the OPS page's second knob, makes an accented note brighter as well: its index is multiplied by 1 + ACC/127 (twice at 127), before the fold-over cap. The last open item of the synthesis review.

  • ACC 0 is the accent as it was; notes without an accent do not hear the knob.
  • Control rate only, no loop changes: no CPU cost.
  • EPIANO (so a new FM4 track too), BASS, BLIP and DUBSTB set ACC 40 to 64.

File format

The slot is the SCN page's second, which every kit fills with SCN's default SPD (28). KIT.BIN's generation byte goes to 3, and a kit below that opens its FM4 tracks with ACC at 0, so older projects sound as they did. No byte is added.

An FM4 preset now writes its OPS numbers as they stand; WAVE and KICK presets that leave the page out still write the SCN defaults.

Checks

  • make -C host test: 5,123,033 checks pass; golden renders stand. make -C host warn and tools/check_rules.sh pass.
  • New host tests: the lift (ACC 0 is exactly 1.4 times the plain note; brighter at 64 and 127; no accent, no change), the cap on a high note, the kit generation, the preset mask, the UI and help.
  • scenario_fmwave turns ACC up on the OPS page. Emulator and cl6x not run here.
  • Unit checklist W124.

Generated by Claude Code

An accent on FM4 reached the level only (#303). ACC, the OPS page's second knob, multiplies an
accented note's index by 1 + ACC/127, before fm_index_cap, so the accent is brighter as well as
louder and stays inside the fold-over limit. 0 is the accent as it was; notes without an accent
do not hear the knob. Control rate only: no loop changes.

The slot is the SCN page's second, which every kit fills with SCN's default SPD (28). KIT.BIN's
generation byte goes to 3 and kit_read opens an FM4 track from before it with ACC at 0. An FM4
preset writes its OPS numbers as they stand (value_of takes the machine), where a WAVE or KICK
preset that leaves the page out writes the SCN defaults. EPIANO, BASS, BLIP and DUBSTB set ACC.

scenario_fmwave turns ACC up as well. W124. Golden renders stand.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tw2EaFHmBTuHT9xVLai85a
@Devko
Devko merged commit 800f0fe into main Nov 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants